Params

public interface Params

The parameters of the ShowContextMenuCallback.

Functions

Link copied to clipboard
public Browser browser()
Returns the Browser instance requested to display this context menu.
Link copied to clipboard
public List<ContextMenuContentType> contentType()
Returns a list of content types on top of which the context menu should be shown.
Link copied to clipboard
Returns an immutable list of the custom context menu items.
Link copied to clipboard
Returns the character encoding of the frame on which the menu is invoked.
Link copied to clipboard
public String frameUrl()
Returns the URL of the frame that the context menu is invoked on.
Link copied to clipboard
public boolean isMainFrame()
Returns true if the context menu is invoked on the main frame.
Link copied to clipboard
public String linkText()
Returns the text associated with the link.
Link copied to clipboard
public String linkUrl()
Returns the URL of the link that encloses the node the context menu is invoked on.
Link copied to clipboard
public Point location()
Returns the context menu location.
Link copied to clipboard
public MediaType mediaType()
Returns the media type of the node the context menu is invoked on.
Link copied to clipboard
public String pageUrl()
Returns the source URL of the top level page that the context menu is invoked on.
Link copied to clipboard
Returns the text of the selection that the context menu is invoked on.
Link copied to clipboard
Returns the spell check sub menu.
Link copied to clipboard
public String srcUrl()
Returns the source URL of the HTML element that the context menu is invoked on.